<?php
/**
 * 结果码，拼装规则:"类名_方法名_结果" = "工程名缩写+'员工编号（用两位数字表示）'+'结果数据（现定为3位，后期可增加）'"
 */
$_PROJECT_AB = 'CL';
//登陆成功码
$_CODE['LOGIN_ISLOGIN_SUCCESS'] = 'CL02001';
//登陆失败码
$_CODE['LOGIN_ISLOGIN_ERROR'] = 'CL02002';

//session失效
$_CODE['SESSION_FAILED'] = 'CL02003';

//获取登录信息成功
$_CODE['LOGIN_LOGININFO_SUCCESS'] = 'CL02004';
//获取登录信息失败
$_CODE['LOGIN_LOGININFO_ERROR'] = 'CL02005';

//保存用户信息成功
$_CODE['LOGIN_SAVEINFO_SUCCESS'] = 'CL02006';
//保存用户信息失败
$_CODE['LOGIN_SAVEINFO_ERROR'] = 'CL02007';



/****************************************商城首页**********************************/
//获取首页信息成功
$_CODE['MARKET_INITMARKET_SUCCESS'] = 'CL02008';


/**************************************产品************************************/
//根据分类id获取产品列表成功
$_CODE['GOODS_GETGOODSLISTBYCATID_SUCCESS'] = 'CL02009';
//根据分类id获取产品列表失败
$_CODE['GOODS_GETGOODSLISTBYCATID_ERROR'] = 'CL02010';

//根据id获取产品详情成功
$_CODE['GOODS_GETGOODSINFO_SUCCESS'] = 'CL02013';
//根据id获取产品详情失败
$_CODE['GOODS_GETGOODSINFO_ERROR'] = 'CL02014';


/************************************文章**************************************/
//根据分类id获取产品列表成功
$_CODE['ARTICLE_GETARTICLEBYCATID_SUCCESS'] = 'CL02011';
//根据分类id获取产品列表失败
$_CODE['ARTICLE_GETARTICLEBYCATID_ERROR'] = 'CL02012';

//根据id获取文章详情成功
$_CODE['GOODS_GETARTICLEINFO_SUCCESS'] = 'CL02015';
//根据id获取文章详情失败
$_CODE['GOODS_GETARTICLEINFO_ERROR'] = 'CL02016';

/*********************************商家地图***************************************/
//获取微信信息成功
$_CODE['MAP_GETWXINFO_SUCCESS'] = 'CL02017';
//获取地图列表成功
$_CODE['MAP_GETMAPLIST_SUCCESS'] = 'CL02018';
//获取地图列表成功
$_CODE['MAP_GETMAPLIST_ERROR'] = 'CL02019';
//分页获取地图列表成功
$_CODE['MAP_GETMAPLISTPAGE_SUCCESS'] = 'CL02021';
//分页获取地图列表成功
$_CODE['MAP_GETMAPLISTPAGE_ERROR'] = 'CL02022';


/*******************************首页****************************************/
//获取首页信息成功
$_CODE['MAIN_GETMAININFO_SUCCESS'] = 'CL02020';


/*******************************社区******************************************/
//获取社区首页信息成功
$_CODE['NEWS_INITTRENDS_SUCCESS'] = 'CL02023';


//获取我的收藏信息成功
$_CODE['NEWS_GETMYCOLLECT_SUCCESS'] = 'CL02024';
//用户ID无session
$_CODE['NEWS_GETMYCOLLECT_LOSE_UID'] = 'CL02025';


//收藏帖子成功
$_CODE['NEWS_COLLECTNEW_SUCCESS'] = 'CL02026';
//收藏帖子失败
$_CODE['NEWS_COLLECTNEW_ERROR'] = 'CL02027';
//用户ID没发送
$_CODE['NEWS_COLLECTNEW_LOSE_UID'] = 'CL02028';


//无帖子详情Id
$_CODE['NEWS_GETNEWSINFO_LOSE_NEWS_ID'] = 'CL02029';
//帖子可能未审核通过
$_CODE['NEWS_GETNEWSINFO_ERROR'] = 'CL02030';
//收藏帖子成功
$_CODE['NEWS_GETNEWSINFO_SUCCESS'] = 'CL02031';



//用户ID没发送
$_CODE['NEWS_LIKENEW_LOSE_UID'] = 'CL02035';
//点赞成功
$_CODE['NEWS_LIKENEW_SUCCESS'] = 'CL02036';
//点赞失败
$_CODE['NEWS_LIKENEW_ERROR'] = 'CL02037';


//用户ID没发送
$_CODE['NEWS_REPLY_LOSE_UID'] = 'CL02038';
//用户没评论
$_CODE['NEWS_REPLY_NO_COMMENT'] = 'CL02039';
//评论成功
$_CODE['NEWS_REPLY_SUCCESS'] = 'CL02040';
//评论失败
$_CODE['NEWS_REPLY_ERROR'] = 'CL02041';

//用户ID没发送
$_CODE['NEWS_DELCOMMENT_LOSE_UID'] = 'CL02042';
//删除评论成功
$_CODE['NEWS_DELCOMMENT_SUCCESS'] = 'CL02043';
//删除评论失败
$_CODE['NEWS_DELCOMMENT_ERROR'] = 'CL02044';

//获取首页信息成功
$_CODE['NEWS_GETCOMMUNITY_SUCCESS'] = 'CL02045';

//首页上下拉刷新成功
$_CODE['NEWS_REFRESH_COMMUNITY_SUCCESS'] = 'CL02046';

//用户ID没发送
$_CODE['NEWS_DELNEWS_LOSE_UID'] = 'CL02047';
//删除评论成功
$_CODE['NEWS_DELNEWS_SUCCESS'] = 'CL02048';
//删除评论失败
$_CODE['NEWS_DELNEWS_ERROR'] = 'CL02049';

//判断是否有session的wxid-有
$_CODE['PICTURE_GETSESSIONWXID_YES'] = "CL02050";
//判断是否有session的wxid-无
$_CODE['PICTURE_GETSESSIONWXID_NO'] = "CL02051";

//发布帖子成功
$_CODE['PUBLISH_SUCCESS'] = 'CL02032';
//发布帖子失败 － 未选择图片
$_CODE['PUBLISH_EMPTY_PICTURE'] = 'CL02033';
//发布帖子失败 － 未输入描述
$_CODE['PUBLISH_EMPTY_DESC'] = 'CL02034';
//发布帖子失败 － 用户未登陆
$_CODE['PUBLISH_EMPTY_DESC'] = 'CL02052';